package com.wx.chapter11.homework.homework06;

/**
 * @Author : 佩萁
 * Description :
 * @Create : 2023/6/15 - 9:50
 */
public class CrossRiver {
    public static void main(String[] args) {
        Person person = new Person("唐僧",new Horse());
        person.passRiver();
        person.passRiver();
        person.common();
        person.common();
        person.passRiver();
        person.common();
    }
}